#!/bin/bash

sudo tee /etc/docker/daemon.json <<-'EOF'
{
    "registry-mirrors": [
        "http://nb-docker.langlangy.net",
        "https://docker.m.daocloud.io",
        "https://docker.nju.edu.cn",
        "https://dockerproxy.com"
    ]
}
EOF

sudo systemctl daemon-reload
sudo systemctl restart docker